Editor.Models.BBox = function () {
	var x = 0;
	var y = 0;
	var width = 0;
	var height = 0;
	return {
		init: function () {},
		setX: function (newX) {
			x = newX;
		},
		getX: function () {
			return x;
		},
		setY: function (newY) {
			y = newY;
		},
		getY: function () {
			return y;
		},
		setWidth: function (newWidth) {
			width = newWidth;
		},
		getWidth: function () {
			return width;
		},
		setHeight: function (newHeight) {
			height = newHeight;
		},
		getHeight: function () {
			return height;
		},
		toString: function () {
			return 'BBox-->(' + 'x: ' + x + ' ; ' + 'y: ' + y + ' ; ' + 'width: ' + width + ' ; ' + 'height: ' + height + ')'
		},
		toObject: function () {
			return {
				'x': x,
				'y': y,
				'width': width,
				'height': height
			}
		},
	}
}
